.index-page {
    .middle-box {
        width: 500px;
        height: 500px;
        background-color: #ccc;
        position: absolute;
        top: 50%;
        left: 50%;
        right: 50%;
        bottom: 50%;
    }
}